package com.ssy.lingxi.purchase.api.dto.request;

import com.ssy.lingxi.purchase.api.dto.response.CountryAreaResponse;
import com.ssy.lingxi.purchase.api.dto.response.SlideshowResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 保存采购门户
 * @author fhj
 * @date 2021/02/22
 * @version 2.0.0
 */
@Data
public class SavePurchaseDoorRequest {

    @NotBlank(message = "公司LOGO不能为空")
    @ApiModelProperty(value = "公司LOGO")
    private String logo;

    @NotBlank(message = "公司简介不能为空")
    @ApiModelProperty(value = "公司简介")
    private String describe;

    @ApiModelProperty(value = "采购门户首页轮播图")
    private List<SlideshowResponse> slideshowList;

    @ApiModelProperty(value = "公司照片")
    private List<String> companyPics;

    @ApiModelProperty(value = "资质荣誉")
    private List<String> honorPics;

    @ApiModelProperty(value = "商城ID")
    private Long shopId;

    @ApiModelProperty(value = "客服链接")
    private String customerUrl;

    @NotEmpty(message = "归属地市不能为空")
    @ApiModelProperty(value = "归属地市")
    private List<CountryAreaResponse> areas;
}
